package com.mayikt;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

// docker run -d --net mynet -p 7070:7070 --name member fary/mt-shop-service-member
@EnableFeignClients
@SpringBootApplication
@EnableSwagger2Doc
@EnableSwaggerBootstrapUI
@MapperScan("com.mayikt.member.impl.mapper")
public class AppMember {

    public static void main(String[] args) {
        SpringApplication.run(AppMember.class);
    }
}
